<% include file="header.html" %>
		
		<div id="main-content"> <!-- Main Content Section with everything -->
			
			
			
			<!-- Page Head -->
			<h2>欢迎来到广告发布系统</h2><p class="clear"></p>
			
			<div class="import_btn">
				<script type="text/javascript" src="uploadify/swfobject.js"></script>
				<script type="text/javascript" src="uploadify/jquery.uploadify.v2.1.4.min.js"></script>
				<script type="text/javascript">
				// <![CDATA[
				$(document).ready(function() {
				  $('#file_upload_campaign').uploadify({
				    'uploader'  : 'uploadify/uploadify.swf',
				    'script'    : 'uploadify/uploadify.php',
				    'cancelImg' : 'uploadify/cancel.png',
				    'folder'    : 'upload_file',
				    'auto'      : true,
				    'fileExt'     : '*.csv;*.xls',
				    'fileDesc'    : 'Files Type (.csv, .xls)',
				    'buttonText': 'Campaign',
				    'onComplete'  : function(event, ID, fileObj, response, data) {
				    	location.href = "index.php?do=import.importlaunch&url="+response;
				     },
				     'onError'     : function (event,ID,fileObj,errorObj) {
				         alert(errorObj.type + ' Error: ' + errorObj.info);
				       }
				  });
				  
				  $('#file_upload_creative').uploadify({
					    'uploader'  : 'uploadify/uploadify.swf',
					    'script'    : 'uploadify/uploadify.php',
					    'cancelImg' : 'uploadify/cancel.png',
					    'folder'    : 'upload_file',
					    'auto'      : true,
					    'fileExt'     : '*.csv;*.xls',
					    'fileDesc'    : 'Files Type (.csv, .xls)',
					    'buttonText': 'Creative',
					    'onComplete'  : function(event, ID, fileObj, response, data) {
					        location.href = "index.php?do=import.importads&url="+response;
					     },
					     'onError'     : function (event,ID,fileObj,errorObj) {
					         alert(errorObj.type + ' Error: ' + errorObj.info);
					       }
					  });
				});
				// ]]>
				</script>
               	<div style="line-height:40px; overflow:hidden;"><div style="float:left; line-height:32px;">导入投放：</div><input id="file_upload_campaign" type="file" name="file_upload_campaign" /></div>
               	<div style="line-height:40px; overflow:hidden;"><div style="float:left; line-height:32px;">导入创意：</div><input id="file_upload_creative" type="file" name="file_upload_creative" /></div>
            </div>
            <% if $ads_kws > 0 %>
           <div class="notification2 success png_bg"> 
           		<a href="#" class="close"><img src="images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
	      		<div class="font_14 import_info">
	      			  <p>成功导入Keyword创意： <%$ads_kws%> 条</p>
      				  <a href="#">去添加Keyword广告</a>
	     		 </div>
    	   </div>
    	   <% /if %>
    	   <% if $ads_vbc > 0 %>
           <div class="notification2 success png_bg"> 
           		<a href="#" class="close"><img src="images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
	      		<div class="font_14 import_info">
	      			  <p>成功导入VBC创意： <%$ads_vbc%> 条</p>
      				  <a href="#">去添加VBC广告</a>
	     		 </div>
    	   </div>
    	   <% /if %>
    	   <% if $launch_kws > 0 %>
           <div class="notification2 success png_bg"> 
           		<a href="#" class="close"><img src="images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
	      		<div class="font_14 import_info">
	      			  <p>成功导入Keyword投放： <%$launch_kws%> 条</p>
      				  <a href="#">去添加Keyword广告</a>
	     		 </div>
    	   </div>
    	   <% /if %>
    	   <% if $launch_vbc > 0 %>
           <div class="notification2 success png_bg"> 
           		<a href="#" class="close"><img src="images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
	      		<div class="font_14 import_info">
	      			  <p>成功导入VBC投放： <%$launch_vbc%> 条</p>
      				  <a href="#">去添加VBC广告</a>
	     		 </div>
    	   </div>
    	   <% /if %>
    <div class="clear"></div>
			<div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>当前广告状态</h3>
        <div class="clear"></div>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
        <!-- End #tab1 -->
        <div class="tab-content default-tab" id="tab2">
          <form action="#" method="post">
          <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
          <p>
            <label class="font_14">广告订单查询</label>
            <input class="text-input medium-input datepicker" type="text" id="medium-input" name="medium-input" />
            <input style="margin-left:20px;" class="button" type="submit" value="搜索" />
          </p>
            <label class="gray">当前广告状态</label>
            <div class="display_frame">
              <div class="frame_titlte">Keyword广告</div>
              <div>
                <div class="display_frame1">当前在线:</div>
                <div class="display_frame2">150</div>
              </div>
              <div>
                <div class="display_frame1">昨日展示数:</div>
                <div class="display_frame2">2000</div>
              </div>
              <div>
                <div class="display_frame1">昨日点击数:</div>
                <div class="display_frame2">168</div>
              </div>
              <div>
                <div class="display_frame1">周展示数:</div>
                <div class="display_frame2">13550</div>
              </div>
              <div>
                <div class="display_frame1">周点击数:</div>
                <div class="display_frame2">967</div>
              </div>
              <div>
                <div class="display_frame1">周平均转化率</div>
                <div class="display_frame2">15%</div>
              </div>
              <div>
                <div class="display_frame1">月投放量</div>
                <div class="display_frame2">155</div>
              </div>
              <input style=" margin: 50px 40px;;" class="button" type="submit" value="详情" />
            </div>
          
            <div class="active" style="padding:18px 0;">
              <div class="frame_titlte2">最新 Keyword广告 列表</div>
              <table class="active_list">
              <thead>
                <tr>
                  <th>ID</th>
                  <th>创意名称</th>
                  <th>投放名称</th>
                  <th >开始日期</th>
                  <th>结束日期</th>
                  <th >点击</th>
                  <th style="width:160px; overflow:hidden;">点击地址</th>
                  <th>操作</th>
                </tr>
              </thead>
              <tfoot>
                <tr>
                  <td colspan="11">
            <div class="pagination">
											<a href="#" title="First Page">&laquo; 首页</a><a href="#" title="Previous Page">&laquo; 上一页</a>
											<a href="#" class="number" title="1">1</a>
											<a href="#" class="number" title="2">2</a>
											<a href="#" class="number current" title="3">3</a>
											<a href="#" class="number" title="4">4</a>
											<a href="#" title="Next Page">下一页 &raquo;</a><a href="#" title="Last Page">末页 &raquo;</a>
										</div>
            <!-- End .pagination -->
            <div class="clear"></div>
            </td>
            </tr>
            </tfoot>
            <tbody>
              <tr>
                <td>2610</td>
                <td><div class="list-preview"> huidingtest_test1
                  <div class="list-popup4" style="display:none;">
                    <div class="list-popup1">当前投放样式预览 </div>
                    <div class="popupimg_bg10">
  							<a href="#" class="close"></a>
               				 <div class="popup_txt5"><a href="#">毒药13号</a></div>
               				 <div class="popup_txt6"><a href="#">来自意大利的迷魂香水系列，混合萨兰子，迷迭草与羽非露的香味……</a></div>
               				 <div class="popup_txt7">点击访问：<a href="#">www.poison-love.com</a></div>      
		   			</div>
                    </div>
                  </div></td>
                <td>HD_KW_中通01</td>
                <td>01 00-00-00</td>
                <td>31 24-00-00</td>
                <td>1</td>
                <td><a href="#">http://www.huiding.com</a></td>
                <td><!-- Icons -->
                  <a href="#" title="Edit"><img src="images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a></td>
              </tr>
              <tr>
                <td>2610</td>
                <td>huidingtest_test1</td>
                <td>HD_KW_中通01</td>
                <td>01 00-00-00</td>
                <td>31 24-00-00</td>
                <td>1</td>
                <td><a href="#">http://www.huiding.com</a></td>
                <td><!-- Icons -->
                  <a href="#" title="Edit"><img src="images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a></td>
              </tr>
              <tr>
                <td>2610</td>
                <td>huidingtest_test1</td>
                <td>HD_KW_中通01</td>
                <td>01 00-00-00</td>
                <td>31 24-00-00</td>
                <td>1</td>
                <td><a href="#">http://www.huiding.com</a></td>
                <td><!-- Icons -->
                  <a href="#" title="Edit"><img src="images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a></td>
              </tr>
              <tr>
                <td>2610</td>
                <td>huidingtest_test1</td>
                <td>HD_KW_中通01</td>
                <td>01 00-00-00</td>
                <td>31 24-00-00</td>
                <td>1</td>
                <td><a href="#">http://www.huiding.com</a></td>
                <td><!-- Icons -->
                  <a href="#" title="Edit"><img src="images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a></td>
              </tr>
              <tr>
                <td>2610</td>
                <td>huidingtest_test1</td>
                <td>HD_KW_中通01</td>
                <td>01 00-00-00</td>
                <td>31 24-00-00</td>
                <td>1</td>
                <td><a href="#">http://www.huiding.com</a></td>
                <td><!-- Icons -->
                  <a href="#" title="Edit"><img src="images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a></td>
              </tr>
            </tbody>
            </table>
     	 </div>
      		<div class="clear"></div>
            <div class="display_frame">
              <div class="frame_titlte">VBC广告</div>
              <div>
                <div class="display_frame1">当前在线:</div>
                <div class="display_frame2">150</div>
              </div>
              <div>
                <div class="display_frame1">昨日展示数:</div>
                <div class="display_frame2">2000</div>
              </div>
              <div>
                <div class="display_frame1">昨日点击数:</div>
                <div class="display_frame2">168</div>
              </div>
              <div>
                <div class="display_frame1">周展示数:</div>
                <div class="display_frame2">13550</div>
              </div>
              <div>
                <div class="display_frame1">周点击数:</div>
                <div class="display_frame2">967</div>
              </div>
              <div>
                <div class="display_frame1">周平均转化率</div>
                <div class="display_frame2">15%</div>
              </div>
               <div>
                <div class="display_frame1">月投放量</div>
                <div class="display_frame2">155</div>
              </div>
              <input style=" margin: 50px 40px;;" class="button" type="submit" value="详情" />
            </div>
          
            <div class="active" style="padding:18px 0;">
              <div class="frame_titlte2">最新 VBC广告 列表</div>
              <table class="active_list">
              <thead>
                <tr>
                  <th>ID</th>
                  <th>创意名称</th>
                  <th>投放名称</th>
                  <th >开始日期</th>
                  <th>结束日期</th>
                  <th >点击</th>
                  <th style="width:160px; overflow:hidden;">点击地址</th>
                  <th>操作</th>
                </tr>
              </thead>
              <tfoot>
                <tr>
                  <td colspan="11">
           			 <div class="pagination">
											<a href="#" title="First Page">&laquo; 首页</a><a href="#" title="Previous Page">&laquo; 上一页</a>
											<a href="#" class="number" title="1">1</a>
											<a href="#" class="number" title="2">2</a>
											<a href="#" class="number current" title="3">3</a>
											<a href="#" class="number" title="4">4</a>
											<a href="#" title="Next Page">下一页 &raquo;</a><a href="#" title="Last Page">末页 &raquo;</a>
										</div>
            <!-- End .pagination -->
            <div class="clear"></div>
            </td>
            </tr>
            </tfoot>
            <tbody>
              <tr>
                <td>2610</td>
                <td>
                <div class="list-preview"> 
                	huidingtest_test1
                  <div class="list-popup5"  style="display:none;">
                    <div class="list-popup1">当前点击详情</div>
                    <div class="advertinfo list-popup6" >
                        	<div class="advertinfo1"><span>ID： 2610</span><span>广告名称： GUCCI香水</span></div>
                            <div>关键词： GUCCI,  GUCCI香水,  GUCCI夏季</div>
                            <div>
                            	<div class="advert_cols1">搜索结果共</div>
                                <div class="advert_cols2">2536项</div>
                            </div>
                            <div>
                            	<div class="advert_cols1">已匹配到的广告位</div>
                                <div class="advert_cols2">768项</div>
                           </div>
                           <div>点击最多页面</div>
                           <div>
                            	<div class="advert_cols1"><a href="#">http://www.ellechina.com/fashion/fashionweek/liu...  </a></div>
                                <div class="advert_cols2">56次</div>
                           </div>
                           <div>
                            	<div class="advert_cols1"><a href="#">http://www.ellechina.com/fashion/fashionweek/liu...  </a></div>
                                <div class="advert_cols2">36次</div>
                           </div>
                           <div>
                            	<div class="advert_cols1"><a href="#">http://www.ellechina.com/fashion/fashionweek/liu...  </a></div>
                                <div class="advert_cols2">13次</div>
                           </div>
                        </div>
                  </div>
                  </div>
                </td>
                <td>HD_KW_中通01</td>
                <td>01 00-00-00</td>
                <td>31 24-00-00</td>
                <td>1</td>
                <td><a href="#">http://www.huiding.com</a></td>
                <td><!-- Icons -->
                  <a href="#" title="Edit"><img src="images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a></td>
              </tr>
              <tr>
                <td>2610</td>
                <td>huidingtest_test1</td>
                <td>HD_KW_中通01</td>
                <td>01 00-00-00</td>
                <td>31 24-00-00</td>
                <td>1</td>
                <td><a href="#">http://www.huiding.com</a></td>
                <td><!-- Icons -->
                  <a href="#" title="Edit"><img src="images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a></td>
              </tr>
              <tr>
                <td>2610</td>
                <td>huidingtest_test1</td>
                <td>HD_KW_中通01</td>
                <td>01 00-00-00</td>
                <td>31 24-00-00</td>
                <td>1</td>
                <td><a href="#">http://www.huiding.com</a></td>
                <td><!-- Icons -->
                  <a href="#" title="Edit"><img src="images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a></td>
              </tr>
              <tr>
                <td>2610</td>
                <td>huidingtest_test1</td>
                <td>HD_KW_中通01</td>
                <td>01 00-00-00</td>
                <td>31 24-00-00</td>
                <td>1</td>
                <td><a href="#">http://www.huiding.com</a></td>
                <td><!-- Icons -->
                  <a href="#" title="Edit"><img src="images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a></td>
              </tr>
              <tr>
                <td>2610</td>
                <td>huidingtest_test1</td>
                <td>HD_KW_中通01</td>
                <td>01 00-00-00</td>
                <td>31 24-00-00</td>
                <td>1</td>
                <td><a href="#">http://www.huiding.com</a></td>
                <td><!-- Icons -->
                  <a href="#" title="Edit"><img src="images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a></td>
              </tr>
            </tbody>
            </table>
     	 </div>
    </fieldset>
    <div class="clear"></div>
			
			
			<!-- Start Notifications -->
			<!-- 
			<div class="notification attention png_bg">
				<a href="#" class="close"><img src="images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
				<div>
					 	去当前广告订单号不正确。
				</div>
			</div>
			
			<div class="notification information png_bg">
				<a href="#" class="close"><img src="images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
				<div>
					冲突。当前广告订单号已被录入，如需<a href="#" style="color:#00F">修改</a>，请点击。
				</div>
			</div>
			
			<div class="notification success png_bg">
				<a href="#" class="close"><img src="images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
				<div>订单号133354795已添加。		</div>
			</div>
			
			<div class="notification error png_bg">
				<a href="#" class="close"><img src="images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
				<div>订单号086632223已被删除。</div>
			</div>
			 -->
			<!-- End Notifications -->
			
<% include file="footer.html" %>
